import { defHttp } from '@/utils/http/axios'

enum Api {
  // 同比
  GET_YOY_DATA = '/chart/energyReport',
}

export const getYoyData = (data) => defHttp.post({ url: Api.GET_YOY_DATA, data })
